Skip to content

Conversation

@pgschuey
Copy link
Collaborator

@pgschuey pgschuey commented Aug 6, 2025

Problem solved by the commit

XDP needed support for NPU3

How problem was solved, alternative solutions (if any) and why they were rejected

Added extensive support for NPU3

Risks (if any) associated the changes in the commit

Support affects many files and build environments

What has been tested and how, request additional testing if necessary

Simulation of NPU3

Documentation impact (if any)

New events, metric sets, etc.

Paul Schumacher added 30 commits June 12, 2025 17:19
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
Paul Schumacher added 2 commits September 10, 2025 13:09
Signed-off-by: Paul Schumacher <[email protected]>
Signed-off-by: Paul Schumacher <[email protected]>
@pgschuey pgschuey removed the do not merge hold off on merging label Sep 11, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

uint8_t burstLength;
uint8_t type;

TraceGMIO(uint32_t i, uint8_t col, uint8_t num,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: 6 adjacent parameters of 'TraceGMIO' of convertible types are easily swapped by mistake [bugprone-easily-swappable-parameters]

    TraceGMIO(uint32_t i, uint8_t col, uint8_t num, 
              ^
Additional context

src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:214: the first parameter in the range is 'i'

    TraceGMIO(uint32_t i, uint8_t col, uint8_t num, 
                       ^

src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:215: the last parameter in the range is 't'

              uint8_t stream, uint8_t len, uint8_t t = 0)
                                                   ^

src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:214:

    TraceGMIO(uint32_t i, uint8_t col, uint8_t num, 
              ^

src/runtime_src/xdp/profile/database/static_info/aie_constructs.h:214: 'uint32_t' and 'uint8_t' may be implicitly converted: 'uint32_t' (as 'unsigned int') -> 'uint8_t' (as 'unsigned char'), 'uint8_t' (as 'unsigned char') -> 'uint32_t' (as 'unsigned int')

    TraceGMIO(uint32_t i, uint8_t col, uint8_t num, 
                          ^

configWriter = new AieTraceConfigWriter(configFile.c_str(), deviceID);
writers.push_back(configWriter);
(db->getStaticInfo())
.addOpenedFile(configWriter->getcurrentFileName(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: no member named 'addOpenedFile' in 'xdp::VPStaticDatabase' [clang-diagnostic-error]

        .addOpenedFile(configWriter->getcurrentFileName(),
         ^

Signed-off-by: Paul Schumacher <[email protected]>
Copy link
Collaborator

@stsoe stsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase against latest master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants